.main-content {
  margin-left: 280px;
  margin-top: 60px;
  padding: 20px;
  min-height: calc(100vh - 108px);
}

.welcome-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.welcome-content {
  text-align: center;
  color: #718096;
}

.welcome-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.welcome-content h2 {
  color: #2D3748;
  margin-bottom: 10px;
}

.index-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #E2E8F0;
}

.index-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #2D3748;
  font-weight: 600;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pagination-btn {
  padding: 6px 12px;
  border: 1px solid #4299E1;
  background-color: white;
  color: #4299E1;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #4299E1;
  color: white;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: white;
  border-color: #CBD5E0;
  color: #CBD5E0;
}

.page-info {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #718096;
}

.data-section {
  margin-bottom: 30px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 20px;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #718096;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #E2E8F0;
  border-top: 3px solid #4299E1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.data-table-container {
  overflow-x: auto;
  border-radius: 4px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  table-layout: fixed;
}

.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #E2E8F0;
}

.data-table th {
  background-color: #F7FAFC;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #4A5568;
  font-weight: 600;
}

.data-table tbody tr:nth-child(even) {
  background-color: #F7FAFC;
}

.data-table tbody tr:hover {
  background-color: #EDF2F7;
}

.data-table th:nth-child(1),
.data-table td:nth-child(1) {
  width: 15%;
}

.data-table th:nth-child(2),
.data-table td:nth-child(2) {
  width: 10%;
}

.data-table th:nth-child(3),
.data-table td:nth-child(3) {
  width: 75%;
}

.text-mono {
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.source-data {
  max-width: 100%;
}

.json-content {
  position: relative;
  background-color: #F7FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 10px;
}

.json-content pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  max-height: 150px;
  overflow-y: auto;
  background-color: #fff;
  padding: 10px;
  border-radius: 4px;
  line-height: 1.4;
}

.json-content pre .key {
  color: #805AD5;
  font-weight: bold;
}

.json-content pre .string {
  color: #38A169;
}

.json-content pre .number {
  color: #3182CE;
}

.json-content pre .boolean {
  color: #DD6B20;
}

.json-content pre .null {
  color: #718096;
  font-style: italic;
}

.copy-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 4px 8px;
  background-color: #4299E1;
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.copy-btn:hover {
  background-color: #3182CE;
}

.no-data {
  padding: 40px 20px;
}

.empty-state {
  text-align: center;
  color: #718096;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.query-section {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.query-tabs {
  display: flex;
  border-bottom: 1px solid #E2E8F0;
}

.tab-btn {
  padding: 12px 20px;
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2D3748;
  cursor: pointer;
  position: relative;
}

.tab-btn.active {
  color: #4299E1;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #4299E1;
}

.tab-btn:hover:not(.active) {
  background-color: #F7FAFC;
}

.query-content {
  padding: 20px;
}

.query-hint {
  background-color: #F7FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 12px 15px;
  margin-bottom: 15px;
  color: #718096;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}

.query-hint strong {
  color: #2D3748;
}

.query-hint code {
  background-color: #EDF2F7;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.query-textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.query-textarea:focus {
  outline: none;
  border-color: #4299E1;
}

.query-textarea:disabled {
  background-color: #F7FAFC;
  opacity: 0.7;
}

.query-actions {
  display: flex;
  gap: 10px;
}

.execute-btn {
  padding: 10px 20px;
  background-color: #4299E1;
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.execute-btn:hover:not(:disabled) {
  background-color: #3182CE;
}

.execute-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.clear-btn {
  padding: 10px 20px;
  background-color: #E2E8F0;
  color: #4A5568;
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clear-btn:hover {
  background-color: #CBD5E0;
}